package com.party.service.inform;

/**
 * Created with IntelliJ IDEA.
 * User: beyond
 * Date: 14-9-18
 * Time: 下午10:37
 * To change this template use File | Settings | File Templates.
 */

import com.party.common.Page;
import com.party.model.SysNotice;

/**
 * 通知信息
 */
public interface InformService {
    /**
     * 通知信息
     * 增删改查
     */
    public int addNotice(SysNotice sysNotice);

    public int addNotice(SysNotice sysNotice,String ids);

    public int deleteNoticeByPrimaryKey(Integer id);

    public int deleteExamByIds(String ids);

    public SysNotice getNoticeByPrimaryKey(Integer id);

    public int updateNoticeByPrimaryKey(SysNotice sysNotice);

    /**
     * 获得通知信息数据列表（分页）
     * @param pageSize
     * @param pageNumber
     * @return
     */
    public Page getNoticeList(SysNotice sysNotice, int pageSize, int pageNumber);


    public Page getSysNoticeByUser(SysNotice sysNotice, int pageSize, int pageNumber);
}
